//astar_setcellcost(x,y,cost)
ar0=floor(argument0/global.astarR_cellwidth)
ar1=floor(argument1/global.astarR_cellheight)
external_call(global.astarR_setcellcost,ar0,ar1,argument2)
